GINO Graphics Suite - GINOGRAF v9.5  

Chart Drawing Components

The following sections describes the component routines provided by GINOGRAF for drawing charts. These routines provide the user with the tools to build up more complex and sophisticated charts than those produced by the Complete Chart Drawing routines described in the previous section.

Each chart is built up in a modular fashion, making use of individual routines to:

Chart Axes Definition and Display

Axes definition is essential to chart drawing when creating a chart using the component routines in the following section. The axes may be defined using the Complete Drawing Routines described previously or through the individual axes definition routines ggSetAxesPos() and ggSetAxesScaling(). A usual requirement for using the individual routines is where the automatic calculation of position or ranges is not sufficient for a complex chart display.

Full description of axes definition, display and titling is found elsewhere (see Introduction to Axes).

Block Chart Attributes

The format of the two-and-a-half dimensional block charts is subject to the current Block Chart attributes. These are set and enquired using the following two routines:

ggSetBlockChartAttribs(coloff,azim,elev,depth,top,side)
ggEnqBlockChartAttribs(coloff,azim,elev,depth,top,side)

where coloff is the colour index offset used to define the block shading colours. The argument azim and elev define the azimuth and elevation of the block and depth is the depth as a fraction of the block width. The variables top and side define the relative lightness of the top and side of each block. The colour of the front of the block is defined in the block filling routine itself for each chart type.

The default Block Chart attributes may be restored using the routine:

ggRestoreBlockChartAttribs